package com.example.iread.bean;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "user")
public class UserBean {

    @PrimaryKey(autoGenerate = true)
    public Integer id;

    public String username;

    public String password;

    public String nickname;

    public String avatar;

    public Integer gender;

    public String birthday;

    public String createTime;

    public String updateTime;

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", avatar='" + avatar + '\'' +
                ", gender=" + gender +
                ", birthday='" + birthday + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
